#pragma once



#include <wx/wx.h>
#include <fstream>
//#include "MyFrame.h"

#include "mdiAUI_Notebook/AUIDocViewMainFrame.h"

#include "wx/xrc/xmlres.h"          // XRC XML resources



class MyApp;


class MyApp : public wxApp
{
	public:
		virtual bool OnInit();
		virtual int OnExit();

		static wxString AppName ();

		wxFrame *frame;
private:
	static wxString s_AppName;

	std::ofstream m_logStream;

	static wxLog *m_logStandardTarget;
	static wxLogStream *m_logFileStreamTarget;

	wxLocale m_Locale;

};



DECLARE_APP(MyApp);

